package com.dormitory.management.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dormitory.management.system.entity.Building;
import com.dormitory.management.system.resp.BuildingResp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 楼栋表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Mapper
public interface
BuildingMapper extends BaseMapper<Building> {

    IPage<BuildingResp> getBuildingPage(Page<BuildingResp> page, @Param(Constants.WRAPPER) Wrapper<BuildingResp> wrapper);
}
